﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="NetDon.OA.Portal._Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<script language="javascript" type="text/javascript">
    function pageLoad() {
        if (window.top.location != window.location) {
            window.top.location = window.location;
            return;
        }
        var bounds = $common.getClientBounds();       
        var size = $common.getSize($get('divLogin'));
        $common.setLocation($get('divLogin'), { x: Math.floor((bounds.width - 960) / 2), y: Math.floor((bounds.height - size.height) / 2) });
        $get('<%=txtUserName.ClientID %>').focus();

    }
</script>
<style type="text/css">           
    html, body
    {
        background-color: #016aa9;
        background-color: #927A1A;
        text-align: center;
        margin: 0;
        padding: 0;
        font-size: 12px;
        line-height: 22px;
        font-family: Arial, Helvetica, sans-serif, "宋体";
    }
</style>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Name="AjaxControlToolkit.Common.Common.js" Assembly="AjaxControlToolkit" />
            <asp:ScriptReference Name="AjaxControlToolkit.Compat.Timer.Timer.js" Assembly="AjaxControlToolkit" />
            <asp:ScriptReference Name="AjaxControlToolkit.ExtenderBase.BaseScripts.js" Assembly="AjaxControlToolkit" />
        </Scripts>
    </asp:ScriptManager>
    <div id="divLogin">
        <center>
            <table width="960" border="0" class="login_bg" cellspacing="0" cellpadding="0">
                <tr>
                    <td class="login_main">
                        <table width="360px" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="253">
                                    <label>
                                        用户名</label><asp:TextBox ID="txtUserName" CssClass="textInput" runat="server" MaxLength="30" ToolTip="用户名"
                                            TabIndex="1"></asp:TextBox>
                                </td>
                                <td width="107">
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" height="16">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label>
                                        密&nbsp;&nbsp;&nbsp;&nbsp;码</label><asp:TextBox ID="txtPassword" runat="server" CssClass="textInput" MaxLength="20"
                                            TextMode="Password" ToolTip="密码" TabIndex="2"> </asp:TextBox>
                                </td>
                                <td>
                                    <asp:Button ID="btnLogin" runat="server" OnClick="btnLogin_Click" Text="登陆" SkinID="Login" />
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Label ID="lblMessage" runat="server" ForeColor="red" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </center>
    </div>
    <%--<div class="Login" id="divLogin">
        <center>
            <div class="Caption">
                <asp:Literal ID="Literal1" runat="server"  Text="唯格综合运营平台"></asp:Literal>  
            </div>
            <table cellpadding="0" cellspacing="0" border="0" class="Form">
                <tr>
                    <td>
                       <asp:Literal ID="Literal2" runat="server" Text="用户名"></asp:Literal>
                    </td>
                    <td>
                        
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="Literal3" runat="server" Text="密码"></asp:Literal>
                    </td>
                    <td>
                        
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Label ID="lblMessage" runat="server" ForeColor="red" />
                    </td>
                </tr>
            </table>
        </center>
    </div>--%>
    </form>
</body>
</html>
